package com.wanxi.scanner;
// 引入java.util.Scanner

import java.util.Scanner;

public class MyScanner {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入字符串");
        String next = scanner.next();
//        double v = scanner.nextDouble();
//        double dd= Double.parseDouble(next);
//        System.out.println("你输入的浮点型型为："+v);
//        System.out.println("你输入的字符串为："+next);

    }
}
